v2ray 免流 2021 您所在的位置:网站首页 v2ray ws免流 v2ray 免流 2021

v2ray 免流 2021

2023-03-23 15:52| 来源: 网络整理| 查看: 265

clash/v2ray/ssr/小火箭节点订阅链接!最低19.9/月!8折优惠码:ac888!点击购买!

v2ray 免流 2021 - 更新 手厅已挂 由system 发表于 2021-05-15 | 更新于 2022-03-25 | 文章分类:v2ray | 8573 次阅读 | 6 条评论 免流 v2ray 2022 联通

引用

https://blog.folklib.com/2021/02/04/32/ https://loukky.com/archives/1384

说明

3年前已经写过一篇关于免流的文章,可能是当时刚才开始了解免流,配置比较麻烦, 我们先假定已经有可以的v2ray服务器了,我们只需要在添加一个inbound就行。 通过 Websocket 协议实现免流: 由于服务器的80端口已经被nginx占用了,所以v2ray监听一个其它端口,然后nginx转发这个端口就行了。免流必须使用80端口。

服务端 v2ray inbound & nginx 配置 { "port": 15000, /* 这个端口和nginx设置一致*/ "listen": "127.0.0.1", "protocol": "vmess", "settings": { "clients": [ { "alterId": 64, "id": "xxxxxxxxxxxxxx", "level": 1, "email": "[email protected]" } ] }, "streamSettings": { "network": "ws", "security": "none", "wsSettings": { "path": "/v2ray-path" /* 这个路径和nginx配置一致*/ }, "kcpSettings": { "uplinkCapacity": 5, "downlinkCapacity": 20, "readBufferSize": 1, "mtu": 1350, "header": { "type": "none" }, "tti": 20, "congestion": false, "writeBufferSize": 1 }, "tcpSettings": { "header": { "type": "none", "response": { "status": "200", "headers": { "Transfer-Encoding": [ "chunked" ], "Connection": [ "keep-alive" ], "Content-Type": [ "application/octet-stream", "application/x-msdownload", "text/html", "application/x-shockwave-flash" ], "Pragma": "no-cache" }, "reason": "OK", "version": "1.1" } } } } }

nginx 端口转发配置

server { listen 80; listen [::]:80; root /var/www/html; index index.htm index.html; server_name your.domain.com; location /v2ray-path { /* 这个配置路径和v2ray一致*/ proxy_redirect off; proxy_pass http://127.0.0.1:15000; /* 这个端口和v2ray一致*/ proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $http_host; } location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; } } 客户端配置

客户端配置就比较简单了, 和普通的v2ray 配置基本一致,主要添加一个伪装host就行了

> 这几个免流host是联通沃商店的混淆,适用于联通各种套餐!(但还是建议自行先测试下)如下: > game.hxll.wostore.cn > music.hxll.wostore.cn > video.hxll.wostore.cn > 部分地区无法成功免流的,可以试下这个host > pull.free.video.10010.com

5元米粉卡,直接测试最后一个有效果,后面继续更新使用情况

Android v2rayng 截图 IMG_20210515_175219.jpg

打赏 如果您认为本文对你有很大帮助,不妨小额赞助我一下[金额您随意],让我有动力继续写出高质量的文章。 微信

请打开微信App,使用“扫一扫”付款

支付宝

请打开支付宝App,使用“扫一扫”付款

发表评论 评论 Reply 問道 2021-05-29

你好。请问,v2服务器免流成功以后,为什么手机上打开百度进行搜索很快,下载文件也能达到满速。但是进入某个网页却卡住慢的很,要刷新好几次用时5~15秒才能进。在线的视频就一直转圈。

Reply system 2021-06-09 回复 @問道

这个可能和你使用的服务器有很大关系,免流应该使用的全局模式,你的网络出口就是你的服务器,你访问任务网站都是从你服务器出去的。所以建议你看看服务器。。。

Reply 匿名 2021-06-16

nginx 80 转发websock 客户端使用伪装就无法连接,443就可以连接

Reply 肯丶 2021-06-26

测试不成功,求tls设置,完全安装你的代码设置的,可是不成功

Reply ye ye 2021-08-15

网址是pull.free.video.10010.com 但是识别得是其它业务流量。 而我使用网友分享的tcp8080端口,流量却是识别为联通营业厅。 难道现在使用80端口+nginx转发 ws流量是不可行的?

Reply gfg 2022-01-01

你好现在连通免流不行了 请问怎么解决 有人说要伪装响应头请问这个怎么搞

Reply


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有